#
# CPL Assignment 2
# Tim Caljé, Jeroen De Raedt & Jorick Van Aken
#
class Airport
  
  def initialize(id,city, country)
    @id = id
    @city = city
    @country = country
  end
  
  def id
    @id
  end
  
  def city
    @city
  end
  
  def country
    @country
  end
  
  def to_s
    "#{city}"
  end
  
  def equal?(other)
    return other.city == self.city && other.country == self.country
  end
end